package com.gqqx.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gqqx.user.pojo.Weather;
import com.gqqx.user.pojo.vo.WeatherVo;

import java.util.List;
import java.util.Map;

public interface WeatherService extends IService<Weather> {
    //返回气象编号和名称
    List<Map<Integer,String>> findStations();
    //查询气象日期信息
    List<String> findStationsDate(String station);
    //指定复杂查询条件的气象数据
    List<List<String>> findWeatherWhole(WeatherVo weatherVo);
    //获取任一小时的分钟气象信息
    List<String> findHourWeather(String station, String date, String hour, String which);
    //获取任一天的小时气象信息
    List<String> findDayHour(String station, String date, String which);
    //获取任意时间段以天为单位的气象数据
    List<String> findStatDayRange(String station, String start_date, String end_date, String which);
    //计算任一时间段内气象数据的协相关矩阵
    List<String> findCorrelation(String station, String start_date, String end_date, String[] correlation);
}
